package com.bo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bo.dto.ManufactureDTO;
import com.bo.enity.Manufacture;
import com.bo.enity.RecipeRatio;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 三一生产消耗表
 */
@Repository
@Mapper
public interface ManufactureMapper extends BaseMapper<Manufacture> {

    /**
     * 查询大于运单id的生产消耗
     * @param mDate 运单mDate
     * @return 生产消耗表
     */
    List<ManufactureDTO> selectGtDeliveryId(String mDate);

    /**
     * 根据日期查消耗
     * @param date
     * @return
     */
    List<ManufactureDTO> selectByDate(String date);
}
